home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / ln03 / rmcs / dvitoln03.cld < prev    next >
Text File  |  1991-10-01  |  7KB  |  199 lines

  1. !*************************************************************************
  2. ! CLD file to set up DCL interface for DVItoLN03 command.
  3. !
  4. ! For DVItoLN03 V4.0... BHK     11-FEB-1991
  5. !               V4.1... BHK     20-SEP-1991
  6. ! (Not all qualifiers are yet supported by the code...)
  7. !*************************************************************************
  8. !
  9. ! Types used for certain qualifiers
  10. !
  11. define type ORIENTS
  12.     keyword PORTRAIT, 
  13.         default
  14.     keyword LANDSCAPE
  15. !
  16. ! Mark one of these as default, as appropriate to your site
  17. !
  18. define type PRINTERS
  19.     keyword LN03,               ! Traditional LN03 or LN03-plus
  20.         default
  21.     keyword LN05                ! DEClaser~2100
  22.     keyword LN06                ! DEClaser~2200
  23. !
  24. define type PRINT_MODE
  25.     keyword DUPLEX,
  26.     keyword SIMPLEX,
  27.     keyword NORMAL,
  28.     keyword TUMBLED,
  29.     keyword MASTER
  30. !
  31. define type FEED_TRAY_LIST
  32.     keyword ALL,value(required,type=TRAY_TYPES)
  33.     keyword FIRST,value(required,type=TRAY_TYPES)
  34.     keyword REST,value(required,type=TRAY_TYPES)
  35. !
  36. define type TRAY_TYPES
  37.     keyword DEFAULT_TRAY
  38.     keyword TOP_TRAY
  39.     keyword BOTTOM_TRAY
  40.     keyword ENVELOPE_TRAY
  41.     keyword MANUAL_FEED
  42. !
  43. ! Mark one of these as default, as appropriate to your site
  44. !
  45. define type PAPER_TYPES
  46.     keyword A4,                 ! ISO A4 paper, 297mm x 210mm
  47.             default
  48.     keyword US                  ! US Letter size, 11in x 8-1/2in
  49. !
  50. define verb DVILN03
  51.     image "TEX_EXE:DVITOLN03"
  52.     parameter P1,
  53.         label=FILESPEC,
  54.         prompt="DVI file",
  55.         value(required,type=$file)
  56.     qualifier STARTING_PAGE,
  57.         default,
  58.         nonnegatable,
  59.         value(default="*")
  60.     qualifier NUMBER_OF_PAGES,
  61.         default,
  62.         nonnegatable,
  63.         value(default=10000000,type=$number)
  64.     qualifier LEFT_MARGIN,
  65.         default,
  66.         nonnegatable,
  67.         value(default=300px)
  68.     qualifier TOP_MARGIN,
  69.         default,
  70.         nonnegatable,
  71.         value(default=300px)
  72.     qualifier HFUZZ,            ! Program default is 100sp
  73.         nonnegatable,
  74.         value(required)
  75.     qualifier VFUZZ,
  76.         nonnegatable,
  77.         value(required)
  78.     qualifier ORIENTATION,
  79.         default,
  80.         nonnegatable,
  81.         value(type=orients)
  82.     qualifier TFM_DIRECTORY,
  83.         nonnegatable,
  84.         default,
  85.         value(default="TEX_FONTS:",type=$file)
  86.     qualifier VIRTUAL_DIRECTORY,
  87.         negatable,
  88.         default,
  89.         value(default="TEX_FONTS:",type=$file)
  90.     qualifier PK_FONT_DIRECTORY,
  91.         negatable,
  92.         default,
  93.         value(default="TEX_PK:",type=$file)
  94.     qualifier PXL_FONT_DIRECTORY,
  95.         negatable,
  96.         default,
  97.         value(default="TEX_PXL_ROOT:",type=$file)
  98.     qualifier LOG,
  99.         negatable,
  100.         value(type=$file)
  101.     qualifier OUTPUT,
  102.         nonnegatable,
  103.         value(required,type=$file)
  104.     qualifier VERBOSE,
  105.         negatable,
  106.         default
  107.     qualifier PRINT_MODE
  108.         value(list,type=PRINT_MODE)
  109.     qualifier DUPLEX_BY_PAGE_NUMBERS
  110.         default,
  111.         negatable
  112.     qualifier FEED_TRAY
  113.         value(required,list,type=feed_tray_list)
  114.     qualifier PAPER_SIZE
  115.         default,
  116.         nonnegatable,
  117.         value(type=paper_types)
  118.     qualifier DEVICE_TYPE               ! Never used by program
  119.         default,
  120.         value(type=printers)
  121. !
  122. ! That last qualifier is present just to control these disallow clauses
  123. !
  124.     disallow DEVICE_TYPE.LN05 and (PRINT_MODE.TUMBLED or
  125.                    (PRINT_MODE.MASTER and PRINT_MODE.SIMPLEX))  ! DEClaser 2100
  126.     disallow DEVICE_TYPE.LN03 and (PRINT_MODE.TUMBLED or FEED_TRAY)! Plain LN03
  127.     disallow DUPLEX_BY_PAGE_NUMBERS and PRINT_MODE.SIMPLEX
  128.     disallow PRINT_MODE.MASTER and not PRINT_MODE.DUPLEX
  129.     disallow PRINT_MODE.SIMPLEX and (PRINT_MODE.DUPLEX or PRINT_MODE.MASTER)
  130.     disallow FEED_TRAY.ALL and (FEED_TRAY.FIRST or FEED_TRAY.REST)
  131. !
  132. ! The value that DVItoLN03 will use if a qualifier is not specified (and
  133. ! no default is given) can be seen in DVITOLN03.WEB/.CH
  134. !
  135. !
  136. !-----------------------------------------------------------------------
  137. !
  138. ! DVItoLN03 can handle any font scheme that obeys the following rules:
  139. !
  140. !   1.  If the PK_FONT_DIRECTORY value ends in ".]" then all PK font
  141. !       files reside in various subdirectories of PK_FONT_DIRECTORY.
  142. !       Each subdirectory name is a different font size.
  143. !       e.g.
  144. !           /PK_FONT_DIRECTORY=TEX_DISK:[TEX.PK.]
  145. !           Font names: TEX_DISK:[TEX.PK.][300]cmr10.pxl
  146. !                       TEX_DISK:[TEX.PK.][622]cmr10.pxl
  147. !               
  148. !   2.  If the PK_FONT_DIRECTORY value does NOT end in ".]" then all PK
  149. !       font files reside in PK_FONT_DIRECTORY.  Each file type begins
  150. !       with a font size, followed by "PK".
  151. !       e.g.
  152. !           /PK_FONT_DIRECTORY=TEX_DISK:[TEX.PK]
  153. !           Font names: TEX_DISK:[TEX.PK]cmr10.300pk
  154. !                       TEX_DISK:[TEX.PK]cmr10.622pk
  155. !               
  156. !   3.  If the PXL_FONT_DIRECTORY value ends in ".]" then all PXL font
  157. !       files reside in various subdirectories of PXL_FONT_DIRECTORY.
  158. !       Each subdirectory name is a different font size.
  159. !       e.g.
  160. !           /PXL_FONT_DIRECTORY=TEX_DISK:[TEX.PXL.]
  161. !           Font names: TEX_DISK:[TEX.PXL.][1500]cmr10.pxl
  162. !                       TEX_DISK:[TEX.PXL.][3732]cmr10.pxl
  163. !               
  164. !   4.  If the PXL_FONT_DIRECTORY value does NOT end in ".]" then all PXL
  165. !       font files reside in PXL_FONT_DIRECTORY.  Each file type begins
  166. !       with a font size, followed by "PXL".
  167. !       e.g.
  168. !       e.g.
  169. !           /PXL_FONT_DIRECTORY=TEX_DISK:[TEX.PXL]
  170. !           Font names: TEX_DISK:[TEX.PXL]cmr10.1500pxl
  171. !                       TEX_DISK:[TEX.PXL]cmr10.3732pxl
  172. !               
  173. ! The above hackery is an attempt to cope with the various font schemes
  174. ! used by VAX/VMS TeX sites.  Note that GF files are not handled; I
  175. ! figured any sites using GF files would convert them to PK files sooner
  176. ! or later.
  177. !
  178. ! NB In the examples above, the values given for the font qualifiers
  179. !    give a directory explicitly, but they may be passed logical names
  180. !    instead: for example, one could have performed the following:
  181. !
  182. ! $ DEFINE/TRANSLATION_ATTRIBUTES=CONCEALED TEX_PXL_ROOT TEX_DISK:[TEX.PXL.]
  183. ! $ DEFINE TEX_PK TEX_DISK:[TEX.PK]
  184. !
  185. !    and then the default specifications used in THIS file will access
  186. !    a pixel file for cmr10 as TEX_DISK:[TEX.PXL.1500]CMR10.PXL, whilst
  187. !    a packed file would be sought as TEX_DISK:[TEX.PK]CMR10.300PK
  188. !
  189. ! Note that /TFM_DIRECTORY must be present by default, and must possess a
  190. ! default value, which indicates, either directly or via a logical name,
  191. ! the directory/ies in which the .TFM files are to be found.
  192. !
  193. ! If virtual fonts are in use, /VIRTUAL_DIRECTORY should be present by
  194. ! default, and its default value should indicate where the .VF files are
  195. ! to be found; if no .VF files exist, processing can be speeded up by
  196. ! removing DEFAULT from this qualifier, or by specifying /NOVIRTUAL on
  197. ! the command line.
  198. !-----------------------------------------------------------------------
  199.